package main

import (
	"awesomeProject2/src/test2020/stats/constant"
	"fmt"
)

func main() {

	c := new(Context)

	c.Init()

	/*headerMap := c.headers

	for k, v := range headerMap {
		fmt.Println("key: " + k + ", value: " + v)
	}*/

	fmt.Println("FileDir: " + constant.FileDir)

	// 请求
	c.requestContext.DoRequest(c.headers)

	defer func() {
		c.Destroy()
		fmt.Println("finish")
	}()
}
